package com.xuecheng.order.service;

import com.xuecheng.commons.model.vo.OrdersVo;
import com.xuecheng.commons.model.vo.ResponseResult;
import com.xuecheng.order.domain.Orders;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 订单 服务类
 */
public interface OrdersService extends IService<Orders> {
    //创建订单
    ResponseResult<String> create(Long coursePubId);
    //查询支付结果
    ResponseResult<OrdersVo> queryOrders(String orderNo);
    //清理超时订单
    void getPayment();
}
